Skip to content

ext/sockets: Fix socket_set_option() validation error messages#22772

Merged
LamentXU123 merged 1 commit into
php:PHP-8.5from
LamentXU123:opt-4
Jul 16, 2026
Merged

ext/sockets: Fix socket_set_option() validation error messages#22772
LamentXU123 merged 1 commit into
php:PHP-8.5from
LamentXU123:opt-4

Conversation

@LamentXU123

Copy link
Copy Markdown
Member

Fix a few incorrect socket_set_option() validation error messages.

must be of between 0 and 65535

to

must be between 0 and 65535

and several other changes.

@devnexen

devnexen commented Jul 16, 2026

Copy link
Copy Markdown
Member

target PHP-8.5

@LamentXU123
LamentXU123 marked this pull request as draft July 16, 2026 19:21
@LamentXU123
LamentXU123 changed the base branch from master to PHP-8.5 July 16, 2026 19:44
@LamentXU123
LamentXU123 marked this pull request as ready for review July 16, 2026 19:45
@LamentXU123
LamentXU123 merged commit 3882f55 into php:PHP-8.5 Jul 16, 2026
2 checks passed
@devnexen

Copy link
Copy Markdown
Member

did you merge believing it s master ?

@LamentXU123

Copy link
Copy Markdown
Member Author

No. I merge this through gh UI for convenience into 8.5 and add merge commits into master later ( usually 5 min )

LamentXU123 added a commit that referenced this pull request Jul 16, 2026
* PHP-8.5:
  ext/sockets: Fix socket_set_option() validation error messages (#22772)
@devnexen

Copy link
Copy Markdown
Member

can be risky but ok..

@LamentXU123

Copy link
Copy Markdown
Member Author

I'd argue this could be better. This at first marked the PR as merged on github so people can know this thing accepted without clicking into it. This also lower the risk of potential supply chain attacks since this make sure what actually does go into the codebase is the exact same thing in the PR (Ilija has the point before)

@devnexen

Copy link
Copy Markdown
Member

I meant more you gotta make sure you re the only one merging at that moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants